﻿<cfsilent>
	<cfscript>
		
		menuArgs = structNew();
		
		structInsert(menuArgs, "TID", event.getArg("TID"), true);
		structInsert(menuArgs, "TSK", event.getArg("TSK"), true);
		structInsert(menuArgs, "TT", event.getArg("TT"), true);
		
		if ( event.isArgDefined("CLSROOM") ) {
			structInsert(menuArgs, "CLSROOM", event.getArg("CLSROOM"), true);
		}
		if ( event.isArgDefined("W") ) {
			structInsert(menuArgs, "W", event.getArg("W"), true);
		}
		if ( event.isArgDefined("wkday") ) {
			structInsert(menuArgs, "wkday", event.getArg("wkday"), true);
		}
		if ( event.isArgDefined("lec") ) {
			structInsert(menuArgs, "lec", event.getArg("lec"), true);
		}
		if ( event.isArgDefined("n") ) {
			structInsert(menuArgs, "n", event.getArg("n"), true);
		}
		if ( event.isArgDefined("DOCID") ) {
			structInsert(menuArgs, "DOCID", event.getArg("DOCID"), true);
		}
		
		
		classStep01 = classStep02 = classStep03 = classStep04 = "";
		classStep05 = "lastStep";
		
		if ( event.getRequestName() eq "taskChangeWizardAppend" ) {
			classStep01 = listAppend(classStep01, "current", " ");
		}
		
		if ( event.getRequestName() eq "taskChangeWizardAppendLecture" ) {
			classStep01 = listAppend(classStep01, "lastDone", " ");
			classStep02 = listAppend(classStep02, "current", " ");
		}
		
		if ( event.getRequestName() eq "taskChangeWizardAppendClassroom" ) {
			classStep01 = listAppend(classStep01, "done", " ");
			classStep02 = listAppend(classStep02, "lastDone", " ");
			classStep03 = listAppend(classStep03, "current", " ");
		}
		
		if ( event.getRequestName() eq "taskChangeWizardAppendSign" ) {
			classStep01 = listAppend(classStep01, "done", " ");
			classStep02 = listAppend(classStep02, "done", " ");
			classStep03 = listAppend(classStep03, "lastDone", " ");
			classStep04 = listAppend(classStep04, "current", " ");
		}
		
		if ( event.getRequestName() eq "taskChangeWizardAppendPrint" ) {
			classStep01 = listAppend(classStep01, "done", " ");
			classStep02 = listAppend(classStep02, "done", " ");
			classStep03 = listAppend(classStep03, "done", " ");
			classStep04 = listAppend(classStep04, "lastDone", " ");
			classStep05 = listAppend(classStep05, "current", " ");
		}
		
	</cfscript>
</cfsilent>

<div class="UIWizard clearfix">
	<ul class="fiveStep stepNavigation">
		
		<li class="<cfoutput>#classStep01#</cfoutput>"><a <cfif listFind(classStep01, "current", " ") or listFind(classStep02, "current", " ") or listFind(classStep03, "current", " ") or listFind(classStep04, "current", " ")> href="<cfoutput>#buildURL('taskChangeWizardAppend', menuArgs)#</cfoutput>"</cfif>><em>补课周次</em><span>选择要补课的周次</span></a></li>
		<li class="<cfoutput>#classStep02#</cfoutput>"><a <cfif listFind(classStep02, "current", " ") or listFind(classStep03, "current", " ") or listFind(classStep04, "current", " ")> href="<cfoutput>#buildURL('taskChangeWizardAppendLecture', menuArgs)#</cfoutput>"</cfif>><em>选择上课时间</em><span>该周次补课讲次和时长</span></a></li>
		<li class="<cfoutput>#classStep03#</cfoutput>"><a <cfif listFind(classStep03, "current", " ") or listFind(classStep04, "current", " ")> href="<cfoutput>#buildURL('taskChangeWizardAppendClassroom', menuArgs)#</cfoutput>"</cfif>><em>选择上课教室</em><span>选择补课地点</span></a></li>
		<li class="<cfoutput>#classStep04#</cfoutput>"><a <cfif listFind(classStep04, "current", " ")> href="<cfoutput>#buildURL('taskChangeWizardAppendSign', menuArgs)#</cfoutput>"</cfif>><em>补课申请单</em><span>填写补课申请单</span></a></li>
		<li class="<cfoutput>#classStep05#</cfoutput>"><a <cfif listFind(classStep05, "current", " ")> href="<cfoutput>#buildURL('taskChangeWizardAppendPrint', menuArgs)#</cfoutput>"</cfif>><em>回执</em><span>查看补课记录</span></a></li>
	
	</ul>
</div>